$('.deletebtn').click(function(){
	var btn = $(this);	
	console.log(btn.parent()); 	
       $.ajax({
       	url:'/'+btn.data('id'),
           type:'DELETE',
            success:function(data){
       	btn.parent().parent().remove();
            }
       });
});
$('.updatebtn').click(function(){
	var btn = $(this);	
	  console.log(1234);
       $.ajax({
       	url:'/'+btn.data('id'),
           type:'post',
            success:function(data){
       	   
            }
       });
});


